package cn.com.connected.entity;

import cn.com.connected.common.config.ListStringTypeHandler;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import java.io.Serializable;
import java.util.Date;

/**
 * 意见反馈
 * 
 * @author sms
 * @email sms@live.com
 * @date 2022-10-04 20:57:24
 */
@TableName(value = "live_message")
@Data
@ApiModel(description = "意见反馈")
public class LiveMessageEntity implements Serializable {

    private static final long serialVersionUID = 1L;
    /***/
    public static final String col_id = "id";
    /**内容*/
    public static final String col_content = "content";
    /**图片*/
    public static final String col_imgs = "imgs";
    /***/
    public static final String col_create_time = "create_time";
    /***/
    public static final String col_create_user = "create_user";
    /**删除状态*/
    public static final String col_status = "status";
    
    @TableId(type = IdType.ASSIGN_UUID)
    @TableField(value = "`id`")
    @ApiModelProperty(value = "")
    private String id;


    @TableField(value = "`content`")
    @ApiModelProperty(value = "内容")
    private String content;

    @TableField(value = "`imgs`",typeHandler = ListStringTypeHandler.class)
    @ApiModelProperty(value = "图片")
    private String imgs;


    @TableField(value = "`create_time`")
    @ApiModelProperty(value = "")
    private Date createTime;


    @TableField(value = "`create_user`")
    @ApiModelProperty(value = "")
    private String createUser;


    @TableField(value = "`status`")
    @ApiModelProperty(value = "删除状态")
    private Integer status;
}